<html>
<head>
<title>
Netlab Reference Manual netgrad
</title>
</head>
<body>
<H1> netgrad
</H1>
<h2>
Purpose
</h2>
Evaluate network error gradient for generic optimizers

<p><h2>
Synopsis
</h2>
<PRE>
g = netgrad(w, net, x, t)</PRE>


<p><h2>
Description
</h2>

<p><CODE>g = netgrad(w, net, x, t)</CODE> takes a weight vector <CODE>w</CODE> and a network
data structure <CODE>net</CODE>, together with the matrix <CODE>x</CODE> of input
vectors and the matrix <CODE>t</CODE> of target vectors, and returns the
gradient of the error function evaluated at <CODE>w</CODE>.

<p><h2>
See Also
</h2>
<CODE><a href="mlp.htm">mlp</a></CODE>, <CODE><a href="neterr.htm">neterr</a></CODE>, <CODE><a href="netopt.htm">netopt</a></CODE><hr>
<b>Pages:</b>
<a href="index.htm">Index</a>
<hr>
<p>Copyright (c) Ian T Nabney (1996-9)


</body>
</html>